package com.tupu.entity.admin;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Map;

/**
 * 实体列表实体
 */
@Data
@TableName("label_list")
public class LabelInfo {

    //主键id
    @TableId(type = IdType.AUTO)
    private Long id;

    //本体名称
    private String label;

    //操作时间
    @JsonProperty(value = "createdTime")
    private String updateTime;

    //图谱node_id
    private Long nodeId;

    //实体标签颜色
    private String color;

    //图谱名称
    @TableField(exist = false)
    private String knowledgeName;

    //属性集合
    @TableField(exist = false)
    private Map<String,Object> attrs;
}


